function getSelectIDs(){
	var ids = new Array(3);
	jQuery(":checkbox[name=checksel]:checked").each(function(){
		ids.push(jQuery(this).val());
	});
	alert(ids.lenght);
	return ids;
}
function compareST(){
	var ids=new Array();
	var ids=getSelectIDs();
	alert(ids);
}

function search(form){
	var obj=document.getElementById(form);//"searchForm"
	var select=obj.select;
	var text;
	for(var i=0;i<select.length;i++){
		if(select[i].selected==true){
			text=select[i].innerHTML;
		}
	}
	obj.text.value=text;
	var str=obj.textfield;
	if(str.value=='输入商品关键字'){
		str.value='';
	}
	obj.submit();
}
function removelook(){
	productService.removeMap({callback:function(returnValue){
		if(returnValue){
			document.getElementById('newlook').style.display='none';
		}
	}});
}